﻿Public Module ModActions
    'represents base enumerations and operations for actions

#Region "Enums"
    'actions
    Public Enum GeAction
        kkNoAction = 0
        kkNewFile = 1 'create new file
        kkOpenFile = 2 'open file
        kkCloseFile = 3 'close file
        kkSaveFile = 4 'save file

        kkAddItemToDiagram = 5 'add item to diagram (table, link, unit,...)
        kkAddTableToDiagram = 6 'add table to diagram
        kkAddColumnToTable = 7 'add column to table
        kkAddContainerToDiagram = 8 'add container to diagram
        kkAddShapeNodeToDiagram = 9 'add shapenode to diagram
        kkAddTableToHierarchy = 10 'add table to hierarchy
        kkAddLinkToDiagram = 11 'add link to diagram

        kkMoveUpColumnOfTable = 12 'move up column of table
        kkMoveDownColumnOfTable = 13 'move down column of table

        kkDeleteDiagramSelection = 14 'delete diagram selection
        kkRemoveColumnFromTable = 15 'remove column from table
        kkRemoveTableFromDiagram = 16 'remove table from diagram
        kkRemoveContainerFromDiagram = 17 'remove container from diagram
        kkRemoveShapeNodeFromDiagram = 18 'remove shapenode from diagram
        kkRemoveLinkFromDiagram = 19 'remove link from diagram

        kkCreateTemplate = 20 'adding template to template toolbar
    End Enum
#End Region
End Module
